//
//  PhotoCollectionViewCell.swift
//  BellManage
//
//  Created by Bestsch on 16/3/31.
//  Copyright © 2016年 wsl. All rights reserved.
//

import UIKit

class PhotoCollectionViewCell: UICollectionViewCell {
    
    
    var photoImage: UIImageView!
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        photoImage = UIImageView.init(frame: self.bounds)
        photoImage.backgroundColor = UIColor.init(hexString: "f2f2f2", alpha: 1)
        photoImage.contentMode = UIViewContentMode.scaleAspectFill
        photoImage.clipsToBounds = true
        self.contentView.addSubview(photoImage)
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
